package com.hopu.mybatis01.service.impl;
import com.hopu.mybatis01.mapper.UserMapper;
import com.hopu.mybatis01.pojo.User;
import com.hopu.mybatis01.service.IUserService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceimpl implements IUserService {

    @Resource
    private UserMapper userMapper;
    @Override
    public List<User> getUsers(String username, String password) {
        return userMapper.selectUsers(username,password);
    }
}
